package com.ftg.product.exam.entity;

import java.util.Date;
import java.lang.Double;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.FieldFill;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.diboot.core.util.D;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 用来记录相应的简答题题干，以及参考答案等信息 Entity定义
* @author kangjx
* @version 1.0
* @date 2021-01-14
* Copyright © ftg
*/
@ApiModel(value = "用来记录相应的简答题题干，以及参考答案等信息")
@Getter @Setter @Accessors(chain = true)
public class ExamExposition extends BaseCustomEntity {
    private static final long serialVersionUID = -8480409695670787673L;

    /**
    * 题干 
    */
    @ApiModelProperty(value="题干", example = "")
    @Length(max=100, message="题干长度应小于100")
    @TableField()
    private String title;

    /**
    * 参考答案 
    */
    @ApiModelProperty(value="参考答案", example = "")
    @Length(max=100, message="参考答案长度应小于100")
    @TableField()
    private String answers;

    /**
    * 出题人 
    */
    @ApiModelProperty(value="出题人", example = "")
    @TableField()
    private Long empCode;

    /**
    * 分值 
    */
    @ApiModelProperty(value="分值", example = "")
    @TableField()
    private Double score;

    /**
    * 所属科目 
    */
    @ApiModelProperty(value="所属科目", example = "")
    @TableField()
    private Long subcode;


} 
